#ifndef FLIGHTINFO_H
#define FLIGHTINFO_H

#include <QDateTime>
#include <QString>

class FlightInfo
{
public:
    QString flight_number;
    QString departure;
    QString destination;
    QString departure_airport;
    QString destination_airport;
    QDateTime departure_time;
    QDateTime arrival_time;
    QString airline_company;
    QString aircraft_model;

    FlightInfo(QString flight_number,
               QString departure,
               QString destination,
               QString departure_airport,
               QString destination_airport,
               QDateTime departure_time,
               QDateTime arrival_time,
               QString airline_company,
               QString aircraft_model);

    // 在此可以添加更多函数，如 getter、setter 等
};

#endif // FLIGHTINFO_H
